package org.itstack.demo.design.cuisine.impl;

import org.itstack.demo.design.cook.ICook;
import org.itstack.demo.design.cuisine.ICuisine;

/**
 * @Author: fanYuLe
 * @CreateTime: 2023-12-26  14:59
 * @Description:
 */
public class GuangDongCuisine implements ICuisine {
    private ICook cook;

    public GuangDongCuisine(ICook cook) {
        this.cook = cook;
    }

    @Override
    public void cook() {
        cook.doCooking();
    }
}
